package com.parking.mgr.useraccount.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.parking.mgr.common.pojo.base.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @ClassName LoginPasswordEntity
 * @Description 用户登录密码对象
 * @Auther: shilintao
 * @Date 2023/5/22
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("t_login_password")
public class LoginPasswordEntity extends BaseEntity {

    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_UUID, value = "pk_id")
    private String id;

    /**
     * 所属用户账号
     */
    private String fkUserPassportId;

    /**
     * 密码的盐
     */
    private String fPasssalt;

    /**
     *密码，经过MD5加密的密码
     */
    private String fPassword;

    @Override
    public String toString() {
        return "LoginPasswordEntity{" +
                "pkId='" + id + '\'' +
                '}';
    }
}
